package com.itheima.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ReportMapper {
    Integer findMemberCountByDate(String today);

    Integer findMemberTotalCount();

    Integer findMemberCountAfterDate(String thisWeekMonday);
    //今日预约
    Integer findOrderCountByDate(String today);

    //到诊
    Integer findVisitsCountAfterDate(String today);

    List<Map> findHotSetmeal();

    Map findById4Detail(Integer id);

    Integer findMemberCountBeforeDate(String month);
    //饼图4
    List<Map<String, Object>> findSetmealCount();

    List<String> findByBirthdays();


    List<String> findSetmealNameCount();

    Integer findnameById(String name);

    Integer findSetmealMoney(Integer id);

    Integer findSetmealNum(@Param("id") Integer id, @Param("date") String date);

    //预约
    Integer findVisitsCountByDate(String s);


    Integer findOrderCountAfterDate(String firstDay4ThisMonth);
}
